@Quaxo76 I think this is possible without additional software installation.
You can check for file in /dev/shm/runcommand.info
This file will be created if an emulator was started.
Or the timestamp of this file changes if there was annother emulator was started.

So you check every 10minutes with a cron job and count file presence or file change ;)